package com.todod.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 角色表
 * 
 * @author MengHaoPeng
 * 
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.sys_role")
public class Role {

	/**
	 * 主鍵
	 */
	@TableId(value = "sr_id", type = IdType.INPUT)
	private Long id;
	/**
	 * 登录名(只能由数字和字母组成)
	 */
	@TableField(value = "sr_code")
	private String code;
	/**
	 * 
	 * 名称
	 */
	@TableField(value = "sr_name")
	private String name;
	/**
	 * 用户公司
	 */
	@TableField(value = "sr_department_id")
	private Long departid;
	/**
	 * 创建用户id（默认为：1）
	 */
	@TableField(value = "sr_create_user_id")
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(value = "sr_create_time")
	private Date createTime;
	/**
	 * 修改用户名id（默认为：1）
	 */
	@TableField(value = "sr_modify_user_id")
	private Long modifyUserId;
	/**
	 * 修改时间
	 */
	@TableField(value = "sr_modify_time")
	private Date modifyTime;
	/**
	 * 抽取标志位
	 */
	@TableField(value = "sr_get_flag")
	private String getFlag;
	/**
	 * 抽取批次号
	 */
	@TableField(value = "sr_get_batch")
	private String getBatch;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getDepartid() {
		return departid;
	}

	public void setDepartid(Long departid) {
		this.departid = departid;
	}

}